#!/usr/bin/node

const http=require('http'),
      cp=require('child_process');

http.createServer((req,res)=>{
  let child=cp.spawn('./03-child.js');
  child.stdout.pipe(res);
//  cp.execFile('./03-child.js',[],(err,stdout,stderr)=>{
//    res.end(stdout);
//  });
}).listen(8080);
